package com.pyue.eam.admin.api.entity.regi;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.pyue.eam.admin.api.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 验收任务
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class CqTaskCheck extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 任务id
     */
    private Long taskId;

    /**
     * 1同意 2驳回
     */
    private String checkFlag;

    /**
     * 团id
     */
    private Long regiId;

    /**
     * 公司id
     */
    private Long companyId;

    /**
     * 备注
     */
    private String remark;

    /**
     * 公司名称
     */
    @TableField(exist = false)
    private String companyName;

    /**
     * 负责人名称
     */
    @TableField(exist = false)
    private String chargeName;

    /**
     * 负责人电话
     */
    @TableField(exist = false)
    private String chargePhone;

    /**
     * 头像
     */
    @TableField(exist = false)
    private String chargeAvatar;


}
